Let

x = A(x – 2) + B(x - 1) …(1)


Substituting x =1 and 2 in (1), we get,


A = -1 and B = 2




= -log|x – 1| + 2log| x – 2| + C


24